#ifndef REQUEST
#define REQUEST

#include <iostream>
#include <map>
using namespace std;

class Request
{
private:
    map<string,string> data;
    //0-文本 1-文件
    int contentType=0;
    string ip;
    int port;
public:
    Request(/* args */);
    Request(string ip,int port,map<string,string> data);
    Request(string ip,int port,map<string,string> data,int contentType);
    ~Request();
    map<string,string> getData();
    int getContentType();
    string getIp();
    int getPort();
};

#endif